<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1,minimum-scale=1">
	<title>bootstap后台练习1</title>
	<link rel="stylesheet" type="text/css" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
	<link rel="stylesheet" type="text/css" href="css/reset.css">
  <link rel="stylesheet" type="text/css" href="css/b3-demo2-user.css">
</head>
<body>
<!-- 这是导航部分 -->
<nav class="navbar navbar-default mynavbar">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#">Maizi Admin</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav mynavbar-left">
        <li><a href="boothoutai.html"><span class="glyphicon glyphicon-home"></span>后台首页</a></li>
        <li><a href="boothoutai-user.html"><span class="glyphicon glyphicon-user"></span>用户管理</a></li>
        <li><a href="boothoutai-content.html"><span class="glyphicon glyphicon-list-alt"></span>内容管理</a></li>
        <li class="active"><a href="boothoutai-tag.html"><span class="glyphicon glyphicon-tags"></span>标签管理</a></li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">admin<span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="#"><span class="glyphicon glyphicon-screenshot"></span>&nbsp&nbsp前台首页</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-user"></span>&nbsp&nbsp个人主页</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-cog"></span>&nbsp&nbsp个人设置</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-credit-card"></span>&nbsp&nbsp账户中心</a></li>
            <li><a href="#"><span class="glyphicon glyphicon-heart"></span>&nbsp&nbsp我的收藏</a></li>
          </ul>
        </li>
        <li><a href="#"><span class="glyphicon glyphicon-off"></span>&nbsp&nbsp退出</a></li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
<!-- 这是导航部分 -->

<!-- 主要部分 -->
<main class="usermainpart">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
          <h4>TAG标签管理</h4>
          <hr>
          <div class="tagpart">
            <form action="#">
            <div class="col-md-10">
              <div class="form-group">
               <input type="text" class="form-control" id="exampleInputEmail1" placeholder="输入添加的标签">
             </div>
            </div>
            <div class="col-md-2">
              <button class="btn btn-default">添加</button>
            </div>
            </form>
          </div>
      </div>
      <div class="col-md-12">
        <div class="col-md-2">
          <div class="alert alert-info alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            bootstrap
          </div>
        </div>
        <div class="col-md-2">
          <div class="alert alert-info alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            麦子学院
          </div>
        </div>
        <div class="col-md-2">
          <div class="alert alert-info alert-dismissible" role="alert">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
            前端课程
          </div>
        </div>
      </div>
    </div>
  </div>
</main>
<!-- 主要部分 -->


<!-- 底部部分 -->
 <footer class="footpart">
 	<p class="text-center">Copyright © 2012-2015  www.maiziedu.com  蜀ICP备13014270号-4</p>
 </footer>
<!-- 底部部分 -->

<!-- 模态框部分 -->
<div class="modal fade" tabindex="-1" id="myModal">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title">添加用户</h4>
      </div>
      <div class="modal-body">
        <form action="#">
          <div class="form-group">
             <label for="exampleInputEmail1">用户名</label>
             <input type="email" class="form-control" id="exampleInputEmail1" placeholder="用户名">
           </div>
           <div class="form-group">
             <label for="exampleInputEmail1">用户名</label>
             <input type="email" class="form-control" id="exampleInputEmail1" placeholder="用户名">
           </div>
           <div class="form-group">
             <label for="exampleInputEmail1">用户名</label>
             <input type="email" class="form-control" id="exampleInputEmail1" placeholder="用户名">
           </div>
           <div class="form-group">
             <label for="exampleInputEmail1">用户名</label>
             <input type="email" class="form-control" id="exampleInputEmail1" placeholder="用户名">
           </div>
           <div class="form-group">
              <label for="exampleInputEmail3">选择用户组</label>
              <select class="form-control" id="exampleInputEmail3">
                <option>限制会员</option>
                <option>新手上路</option>
                <option>注册会员</option>
                <option>中级会员</option>
                <option>高级会员</option>
              </select>
           </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="button" class="btn btn-primary">提交</button>
      </div>
    </div><!-- /.modal-content -->
  </div><!-- /.modal-dialog -->
</div>
<!-- 模态框部分 -->


<script src="lib/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script>
$(function(){
  $("#selleft li").on("click",function(){
    $("#seltop li").eq($(this).index()).addClass("active").siblings().removeClass("active");
  });

  $("#seltop li").on("click",function(){
    $("#selleft li").eq($(this).index()).addClass("active").siblings().removeClass("active");
  });
})
</script>
</body>
</html>